package com.qf.sy2103.fmmall.mapper;

import com.qf.sy2103.fmmall.beans.entity.ShoppingCart;
import com.qf.sy2103.fmmall.beans.vo.ShoppingCartVo;
import com.qf.sy2103.fmmall.general.GeneralDAO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoppingCartMapper extends GeneralDAO<ShoppingCart> {
    List<ShoppingCartVo> listByUserId(@Param("userId") Integer userId);

    List<ShoppingCartVo> listbycids(List<String> cidList);
}
